LMRU: An Efficient Buffer Management Scheme for Large Sequential and Looping Reference Pattern Applications
نویسندگان
چکیده
The buffer cache management algorithm used by almost all operating systems is known as LRU(Least Recently Used). LRU is known to perform well in applications with irregular reference pattern. However, it shows poor performance for sequential-pattern or looping-pattern applications with large-size data. For sequential or looping reference pattern, MRU(Most Recently Used) replacement policy is frequently used to improve the buffer cache performance. On the way of implementing MRU on Linux, we observed that MRU shows lower response time by up to 100% compared to LRU. Indirect blocks, which are used in the file structure of Unix family operating systems for large-size file, are the main reason of decreasing performance. Indirect blocks are fetched but immediately replaced by MRU replacement policy, even those will be soon and frequently needed again. Based on this observation, we propose a buffer replacement policy named 'LMRU'. LMRU maintains frequently-used blocks such as indirect blocks in the cache, even it manages all other blocks on buffer cache with MRU. We have designed and implemented it in a Linux kernel. LMRU improves the response time by up to 70% compared to LRU and 163% compared to MRU.
منابع مشابه
ABM: Looping Reference-Aware Cache Management Scheme for Media-on-Demand Server
Legacy buffer cache management schemes for multimedia server are grounded at the assumption that the application sequentially accesses the multimedia file. However, user access pattern may not be sequential in some circumstances, for example, in distance learning application, where the user may exploit the VCR-like function(rewind and play) of the system and accesses the particular segments of ...
متن کاملIntelligent Buffer Cache Management in Multimedia Data Retrieval
In this paper, we present an intelligent buffer cache management algorithm in multimedia data retrieval called Adaptive Buffer cache Management (ABM). The proposed ABM scheme automatically detects the reference pattern of each file and intelligently switches between different buffer cache management schemes on per-file basis. According to our simulation based experiment, the ABM scheme yields b...
متن کاملBuffer Allocation Using Query
In this paper, we propose the concept of using query execution feedback for improving database buffer management. A query feedback model which adaptively quantifies the page fault characteristics of all query access patterns including sequential, looping and most importantly random, is defined. Based on this model, a load control and a marginal gain ratio buffer allocation scheme are developed....
متن کاملAn Adaptive Block Management Scheme Using On-Line Detection of Block Reference Patterns
Recent research has shown that near optimal performance can be achieved by adaptive block replacement policies that use user-level hints regarding the block reference pattern. However, obtaining user-level hints requires considerable effort from users making it difficult to apply adaptive replacement policies to diverse kinds of applications. We propose a new adaptive block management scheme th...
متن کاملA Novel Buffer Cache Scheme for Distributed Multimedia Streaming
In this paper, we present a novel buffer management algorithm for multimedia streaming workload. We carefully examine the workload traces obtained from several streaming servers in service. The analysis results show that most users exhibit non-sequential access pattern using VCR-like operations such as jump backward and jump forward. Moreover, short jump accesses are shown to be common. We expl...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999